﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Microhard.WeixinMP.Interfaces
{
    public interface IWeixinPageService<T>
    {
        ActionResult WeixinPageCreate(string token, string weixinFromUserName, Guid? cid);
        ActionResult WeixinPageSaveCreate(T model, string token, string weixinFromUserName);
        ActionResult WeixinPageUpdate(Guid identity, string token, string weixinFromUserName);
        ActionResult WeixinPageSaveUpdate(T model, string token, string weixinFromUserName);
        ActionResult WeixinPageDelete(List<Guid> identities, string token, string weixinFromUserName);
        ActionResult WeixinPageGetSingleModel(Guid id, string token, string weixinFromUserName);
    }
}
